//
//  ViewController.m
//  StarRateDemo
//
//  Created by LiTengFei on 15/1/20.
//  Copyright (c) 2015年 LiTengFei. All rights reserved.
//

#import "ViewController.h"
#import "StarRate.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    StarRate * star = [[StarRate alloc]initWithFrame:CGRectMake(100, 100, 100, 30)];
    star.backgroundColor = [UIColor lightGrayColor];
   
    [self.view addSubview:star];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
